package com.ad.search.client;

import com.ad.common.vo.CommonResponse;
import com.ad.common.vo.AdPlan;
import com.ad.common.vo.AdPlanGetRequest;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: megan
 * @mail: meganmail@vip.qq.com
 * @date: 2019/4/2 16:56
 * @version: v1.0
 * @description:
 */
@Component
public class SponsorClientHystrix implements SponsorClient {

    @Override
    public CommonResponse<List<AdPlan>> getAdPlans(AdPlanGetRequest request) {
        return new CommonResponse<>(-1, "eureka-client-ad-sponsor error");
    }
}
